home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 25
/
AACD 25.iso
/
AACD
/
Magazine
/
Online
/
QMail
/
source
/
case_lowerb.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1997-04-15
|
193 b
|
15 lines
#include "case.h"
void case_lowerb(s,len)
char *s;
unsigned int len;
{
unsigned char x;
while (len > 0) {
--len;
x = *s - 'A';
if (x <= 'Z' - 'A') *s = x + 'a';
++s;
}
}